package com.sunshine.annotation;

import java.lang.annotation.*;

/**
 * 测试自定义注解
 *
 * @author WeiHong
 * @date 2019/8/5 16:46
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.METHOD, ElementType.TYPE})
@Documented
public @interface TestAnnotation {
    String name();

    int age() default 18;

    int[] score();

}
